package com.wxs.common.pojo;

import java.util.ArrayList;
import java.util.List;

public class Role {
	private Integer id;

	private Boolean dontdelete;

	private Boolean enabled;

	private String name;

	// private List<RoleGroup> roleGroups = new ArrayList<RoleGroup>();
	private List<Resource> resources = new ArrayList<Resource>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Boolean getDontdelete() {
		return dontdelete;
	}

	public void setDontdelete(Boolean dontdelete) {
		this.dontdelete = dontdelete;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public List<Resource> getResources() {
		return resources;
	}

	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}

}